<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
  <title>%VITE_GLOB_APP_TITLE%</title>
</head>
<style>
</style>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.ts"></script>
  <script>
    window.echartsPortrait = false
    window.addEventListener('orientationchange', () => {
      if (window.orientation === 0 || window.orientation === 180) {
        window.echartsPortrait = true
        window.alert('系统检测到当前设备为竖屏，请旋转设备获取更好体验')
      }
    });
  </script>
</body>

</html>